<template>
	<view class="">
		<view class="">
			<navgetbar title="关注店铺" :isgohome="true"></navgetbar>
		</view>
		<view class="nologin">
			<view class="w-[620rpx] h-[320rpx]">
			<!-- 	<up-image  shape="circle" src="../static/avator.jpg" width="220rpx"
					height="220rpx" class="buliselimg"></up-image> -->
					<image src="../static/homeimg/datanull.png"  class="w-[620rpx] h-[320rpx]" mode="aspectFit"></image>
			</view>
			<view class="nologinmsg">
				<view class="px-[20rpx] text-center" v-if="type==1">
					很抱歉，该商家门店暂时不可用，
				</view>
				<view class="text-center" v-if="type==1">
					请您稍候
					重试或直接与商家取得联系。
				</view>
				<view class="px-[20rpx] text-center" v-if="type==2">
					很抱歉，门店已不存在
				</view>
			</view>

		</view>
	</view>
</template>

<script setup>
	import navgetbar from "@/components/navgetbar/navindex.vue"
	import {
		ref,
		onMounted
	} from "vue"
	import {
		onLoad
	} from "@dcloudio/uni-app"
	import {
		useStore
	} from '@/stores/user.js'
	const store = useStore();
	import {
		storeToRefs
	} from 'pinia'
	let {
		userInfo,
		doorinfo
	} = storeToRefs(store);
	const type = ref(1)
	onLoad((e) => {
		type.value = e.type
	})
</script>

<style scoped lang="scss">
	.nologin {
		width: 100%;
		display: flex;
		height: calc(100vh - 400rpx);
		align-items: center;
		justify-content: center;
		flex-direction: column;

		.nologinmsg {
			font-size:26rpx;
			font-family: PingFang SC;
			font-weight: 400;
			color: #999999;
			line-height: 35rpx;
			// padding-top: 62rpx;
		}

		.tologin {
			width: 412rpx;
			height: 98rpx;
			background: #FE861C;
			border-radius: 20rpx;
			font-size: 32rpx;
			font-family: PingFang SC;
			font-weight: 500;
			color: #FFFFFF;
			line-height: 98rpx;
			text-align: center;
		}
	}

	.onejianlogin {
		margin-top: 40rpx;
		width: 566rpx;
		height: 98rpx;
		background: #FE861C;
		line-height: 98rpx;
		color: #fff;
		border-radius: 20rpx;
		text-align: center;
		font-size: 32rpx;
		font-family: PingFang SC;
		font-weight: 500;
		color: #FFFFFF;
	}
</style>